package com.cc.blog.admin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cc.blog.common.model.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 分类表实体
 * @Author cc
 * @Date 2024/7/10 11:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@TableName("t_category")
public class CategoryDO extends BaseDO {

    @TableId(type = IdType.AUTO)
    private Long id;
    /** 名称 */
    private String name;
    /** 文章总数 */
    private Integer articlesTotal;
}
